
<!DOCTYPE HTML>
<html lang="zh-hans" >
    <head>
        <meta charset="UTF-8">
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <title>序 · Potocol-Forest</title>
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta name="description" content="">
        <meta name="generator" content="GitBook 3.2.3">
        
        
        
    
    <link rel="stylesheet" href="../gitbook/style.css">

    
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-highlight/website.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-search/search.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-fontsettings/website.css">
                
            
        

    

    
        
    
        
    
        
    
        
    
        
    
        
    

        
    
    
    <meta name="HandheldFriendly" content="true"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link rel="apple-touch-icon-precomposed" sizes="152x152" href="../gitbook/images/apple-touch-icon-precomposed-152.png">
    <link rel="shortcut icon" href="../gitbook/images/favicon.ico" type="image/x-icon">

    
    <link rel="next" href="02.html" />
    
    
    <link rel="prev" href="../" />
    

    </head>
    <body>
        
<div class="book">
    <div class="book-summary">
        
            
<div id="book-search-input" role="search">
    <input type="text" placeholder="输入并搜索" />
</div>

            
                <nav role="navigation">
                


<ul class="summary">
    
    

    

    
        
        
    
        <li class="chapter " data-level="1.1" data-path="../">
            
                <a href="../">
            
                    
                    Introduction
            
                </a>
            

            
        </li>
    
        <li class="chapter active" data-level="1.2" data-path="01.html">
            
                <a href="01.html">
            
                    
                    序
            
                </a>
            

            
        </li>
    

    
        
        <li class="header">综述</li>
        
        
    
        <li class="chapter " data-level="2.1" data-path="02.html">
            
                <a href="02.html">
            
                    
                    邮差与邮局 (网络协议概观)
            
                </a>
            

            
        </li>
    

    
        
        <li class="header">连接层协议</li>
        
        
    
        <li class="chapter " data-level="3.1" data-path="03.html">
            
                <a href="03.html">
            
                    
                    小喇叭开始广播 (以太网与WiFi协议)
            
                </a>
            

            
        </li>
    

    
        
        <li class="header">网络层协议</li>
        
        
    
        <li class="chapter " data-level="4.1" data-path="04.html">
            
                <a href="04.html">
            
                    
                    IP接力赛 (IP, ARP, RIP和BGP协议)
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="4.2" data-path="05.html">
            
                <a href="05.html">
            
                    
                    地址耗尽危机 (IPv4与IPv6地址)
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="4.3" data-path="06.html">
            
                <a href="06.html">
            
                    
                    我尽力 (IP协议详解)
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="4.4" data-path="07.html">
            
                <a href="07.html">
            
                    
                    瑞士军刀 (ICMP协议)
            
                </a>
            

            
        </li>
    

    
        
        <li class="header">传输层协议</li>
        
        
    
        <li class="chapter " data-level="5.1" data-path="08.html">
            
                <a href="08.html">
            
                    
                    傀儡 (UDP协议)
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="5.2" data-path="09.html">
            
                <a href="09.html">
            
                    
                    不放弃 (TCP协议与"流"通信)
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="5.3" data-path="10.html">
            
                <a href="10.html">
            
                    
                    爱的传声筒 (TCP连接)
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="5.4" data-path="11.html">
            
                <a href="11.html">
            
                    
                    魔鬼细节 (TCP滑窗管理) 
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="5.5" data-path="12.html">
            
                <a href="12.html">
            
                    
                    涅槃 (TCP重新发送)
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="5.6" data-path="13.html">
            
                <a href="13.html">
            
                    
                    天下为公 (TCP堵塞控制)
            
                </a>
            

            
        </li>
    

    
        
        <li class="header">应用层</li>
        
        
    
        <li class="chapter " data-level="6.1" data-path="14.html">
            
                <a href="14.html">
            
                    
                    9527 (DNS协议)
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="6.2" data-path="15.html">
            
                <a href="15.html">
            
                    
                    先生，要点单吗? (HTTP协议)
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="6.3" data-path="17.html">
            
                <a href="17.html">
            
                    
                    小美的桌号 (DHCP协议)
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="6.4" data-path="18.html">
            
                <a href="18.html">
            
                    
                    我和你的悄悄话 (SSL/TLS协议)
            
                </a>
            

            
        </li>
    

    
        
        <li class="header">综合</li>
        
        
    
        <li class="chapter " data-level="7.1" data-path="16.html">
            
                <a href="16.html">
            
                    
                    逆袭 (CIDR与NAT)
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="7.2" data-path="Mac OSX网络诊断命令.html">
            
                <a href="Mac OSX网络诊断命令.html">
            
                    
                    Mac OSX网络诊断命令
            
                </a>
            

            
        </li>
    

    

    <li class="divider"></li>

    <li>
        <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
            本书使用 GitBook 发布
        </a>
    </li>
</ul>


                </nav>
            
        
    </div>

    <div class="book-body">
        
            <div class="body-inner">
                
                    

<div class="book-header" role="navigation">
    

    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href=".." >序</a>
    </h1>
</div>




                    <div class="page-wrapper" tabindex="-1" role="main">
                        <div class="page-inner">
                            
<div id="book-search-results">
    <div class="search-noresults">
    
                                <section class="normal markdown-section">
                                
                                <h1 id="&#x5E8F;">&#x5E8F;</h1>
<p>&#x4E92;&#x8054;&#x7F51;&#x7684;&#x76EE;&#x7684;&#x662F;&#x4E3A;&#x4E86;&#x5B9E;&#x73B0;&#x901A;&#x4FE1;&#xFF0C;&#x800C;&#x901A;&#x4FE1;&#x7684;&#x57FA;&#x7840;&#x662F;&#x6709;&#x4E00;&#x5957;&#x884C;&#x4E4B;&#x6709;&#x6548;&#x7684;&#x7F51;&#x7EDC;&#x534F;&#x8BAE;&#x3002;&#x6B63;&#x5982;&#x6211;&#x4EEC;&#x5728;&#x4EA4;&#x8C08;&#x7684;&#x65F6;&#x5019;&#x9700;&#x8981;&#x7B26;&#x5408;&#x4E00;&#x5B9A;&#x7684;&#x8BED;&#x6CD5;&#x548C;&#x7528;&#x8BED;&#x89C4;&#x8303;&#x4E00;&#x6837;&#xFF0C;&#x673A;&#x5668;&#x4E4B;&#x95F4;&#x7684;&#x901A;&#x8BDD;&#x4E5F;&#x5FC5;&#x987B;&#x7B26;&#x5408;&#x534F;&#x8BAE;&#x3002;&#x5426;&#x5219;&#xFF0C;&#x6BCF;&#x4E00;&#x53F0;&#x673A;&#x5668;&#x81EA;&#x8A00;&#x81EA;&#x8BED;&#xFF0C;&#x6C38;&#x8FDC;&#x4E5F;&#x65E0;&#x6CD5;&#x76F8;&#x4E92;&#x7406;&#x89E3;&#x3002;&#x201C;&#x534F;&#x8BAE;&#x68EE;&#x6797;&#x201D;&#x662F;&#x4E00;&#x7CFB;&#x5217;&#x5173;&#x4E8E;&#x7F51;&#x7EDC;&#x534F;&#x8BAE;&#x7684;&#x6587;&#x7AE0;&#x3002;&#x5E0C;&#x671B;&#x901A;&#x8FC7;&#x8FD9;&#x4E9B;&#x6587;&#x7AE0;&#xFF0C;&#x80FD;&#x5BF9;&#x9519;&#x7EFC;&#x590D;&#x6742;&#x7684;&#x534F;&#x8BAE;&#x68EE;&#x6797;&#x8FDB;&#x884C;&#x4E00;&#x4E2A;&#x7B80;&#x5355;&#x7684;&#x603B;&#x7ED3;&#x3002;</p>
<p>&#x7F51;&#x7EDC;&#x534F;&#x8BAE;&#x662F;&#x6280;&#x672F;&#xFF0C;&#x4F46;&#x53C8;&#x5173;&#x4E4E;&#x8BBE;&#x8BA1;&#x4E0E;&#x5386;&#x53F2;&#x3002;Ethernet, IP, UDP, TCP, HTTP, DNS... &#x8FD9;&#x4E9B;&#x534F;&#x8BAE;&#x50CF;&#x662F;&#x4E00;&#x7247;&#x8302;&#x5BC6;&#x7684;&#x6811;&#x6797;&#xFF0C;&#x76D8;&#x6839;&#x9519;&#x8282;&#x3002;&#x534F;&#x8BAE;&#x4E4B;&#x95F4;&#x76F8;&#x4E92;&#x5173;&#x8054;&#x3002;&#x534F;&#x8BAE;&#x4E0E;&#x534F;&#x8BAE;&#x6709;&#x65F6;&#x5408;&#x4F5C;&#xFF0C;&#x6709;&#x65F6;&#x7ADE;&#x4E89;&#xFF0C;&#x6709;&#x65F6;&#x662F;&#x5F31;&#x8089;&#x5F3A;&#x98DF;&#x7684;&#x66FF;&#x4EE3;&#x3002;&#x7F51;&#x7EDC;&#x534F;&#x8BAE;&#x7684;&#x53D1;&#x5C55;&#x603B;&#x662F;&#x4F34;&#x968F;&#x7740;&#x5F88;&#x6709;&#x8DA3;&#x7684;&#x5386;&#x53F2;&#x6545;&#x4E8B;&#xFF0C;&#x7F51;&#x7EDC;&#x534F;&#x8BAE;&#x7684;&#x4EA7;&#x751F;&#x90FD;&#x6709;&#x5176;&#x5386;&#x53F2;&#x73AF;&#x5883;&#x3002;&#x4E00;&#x4E9B;&#x7F51;&#x7EDC;&#x534F;&#x8BAE;&#x53EF;&#x80FD;&#x770B;&#x8D77;&#x6765;&#x5F88;&#x7B28;&#x62D9;&#xFF0C;&#x4F46;&#x653E;&#x5728;&#x5F53;&#x65F6;&#xFF0C;&#x662F;&#x806A;&#x660E;&#x7684;&#x89E3;&#x51B3;&#x65B9;&#x6848;&#x3002;&#x6240;&#x4EE5;&#xFF0C;&#x5728;&#x4E86;&#x89E3;&#x7F51;&#x7EDC;&#x534F;&#x8BAE;&#x7684;&#x65F6;&#x5019;&#xFF0C;&#x9700;&#x8981;&#x4E86;&#x89E3;&#x8BE5;&#x534F;&#x8BAE;&#x7684;&#x8BDE;&#x751F;&#x8FC7;&#x7A0B;&#x548C;&#x8BBE;&#x8BA1;&#x76EE;&#x7684;&#x3002;</p>
<p>&#x4E86;&#x89E3;&#x7F51;&#x7EDC;&#x5206;&#x5C42;&#xFF0C;&#x662F;&#x7406;&#x89E3;&#x8FD9;&#x4E2A;&#x68EE;&#x6797;&#x7684;&#x7B2C;&#x4E00;&#x6B65;&#x3002;&#x800C;&#x68EE;&#x6797;&#x7684;&#x5FC3;&#x810F;&#xFF0C;&#x662F;&#x5B58;&#x5728;&#x4E86;&#x4E09;&#x5341;&#x591A;&#x5E74;&#x7684;TCP/IP&#x5957;&#x88C5;&#x534F;&#x8BAE;&#x3002;&#x5728;&#x53D8;&#x5316;&#x8FC5;&#x6377;&#x7684;IT&#x9886;&#x57DF;&#xFF0C;TCP/IP&#x575A;&#x5982;&#x78D0;&#x77F3;&#x7684;&#x5730;&#x4F4D;&#x53EF;&#x4EE5;&#x7B97;&#x662F;&#x4E00;&#x4E2A;&#x5947;&#x8FF9;&#x3002;&#x8FD9;&#x4E00;&#x70B9;&#x4E5F;&#x662F;&#x53EF;&#x4EE5;&#x7406;&#x89E3;&#x7684;&#x3002;&#x8BB8;&#x591A;&#x5355;&#x673A;&#x6280;&#x672F;&#x53EF;&#x4EE5;&#x5F88;&#x5FEB;&#x66F4;&#x65B0;&#xFF0C;&#x6BD4;&#x5982;Java&#x548C;C++&#x5174;&#x8D77;&#xFF0C;&#x800C;Pascal&#x8BED;&#x8A00;&#x3001;Fortran&#x8BED;&#x8A00;&#x5FEB;&#x901F;&#x6CA1;&#x843D;&#x3002;&#x7136;&#x800C;&#xFF0C;&#x7F51;&#x7EDC;&#x534F;&#x8BAE;&#x7684;&#x66F4;&#x6362;&#x5E76;&#x4E0D;&#x7B80;&#x5355;&#xFF0C;&#x8FD9;&#x8981;&#x6C42;&#x6574;&#x4E2A;&#x7F51;&#x7EDC;&#x7684;&#x6240;&#x6709;&#x8BBE;&#x5907;&#x7684;&#x914D;&#x5408;&#x3002;&#x7F51;&#x7EDC;&#x534F;&#x8BAE;&#x662F;&#x4E0D;&#x8001;&#x4F20;&#x8BF4;&#xFF0C;&#x5B83;&#x7684;&#x76F8;&#x5173;&#x6280;&#x672F;&#xFF0C;&#x5C31;&#x975E;&#x5E38;&#x503C;&#x5F97;&#x62E5;&#x6709;&#x3002;</p>
<p>&#x7F51;&#x7EDC;&#x534F;&#x8BAE;&#x53EF;&#x4EE5;&#x53C2;&#x8003;&#x8BB8;&#x591A;&#x7ECF;&#x5178;&#x4E66;&#x7C4D;&#x3002;&#x201C;&#x534F;&#x8BAE;&#x68EE;&#x6797;&#x201D;&#x5FFD;&#x7565;&#x4E86;&#x8BB8;&#x591A;&#x7EC6;&#x8282;&#xFF0C;&#x5E76;&#x91C7;&#x7528;&#x6BD4;&#x8F83;&#x76F4;&#x767D;&#x7684;&#x8868;&#x8FBE;&#x65B9;&#x5F0F;&#x3002;</p>
<h2 id="&#x7EFC;&#x8FF0;">&#x7EFC;&#x8FF0;</h2>
<p><a href="02.html">&#x90AE;&#x5DEE;&#x4E0E;&#x90AE;&#x5C40; (&#x7F51;&#x7EDC;&#x534F;&#x8BAE;&#x6982;&#x89C2;)</a></p>
<h2 id="&#x8FDE;&#x63A5;&#x5C42;&#x534F;&#x8BAE;">&#x8FDE;&#x63A5;&#x5C42;&#x534F;&#x8BAE;</h2>
<p><a href="03.html">&#x5C0F;&#x5587;&#x53ED;&#x5F00;&#x59CB;&#x5E7F;&#x64AD; (&#x4EE5;&#x592A;&#x7F51;&#x4E0E;WiFi&#x534F;&#x8BAE;)</a></p>
<h2 id="&#x7F51;&#x7EDC;&#x5C42;&#x534F;&#x8BAE;">&#x7F51;&#x7EDC;&#x5C42;&#x534F;&#x8BAE;</h2>
<p><a href="04.html">IP&#x63A5;&#x529B;&#x8D5B; (IP, ARP, RIP&#x548C;BGP&#x534F;&#x8BAE;)</a></p>
<p><a href="05.html">&#x5730;&#x5740;&#x8017;&#x5C3D;&#x5371;&#x673A; (IPv4&#x4E0E;IPv6&#x5730;&#x5740;)</a></p>
<p><a href="06.html">&#x6211;&#x5C3D;&#x529B; (IP&#x534F;&#x8BAE;&#x8BE6;&#x89E3;)</a></p>
<p><a href="07.html">&#x745E;&#x58EB;&#x519B;&#x5200; (ICMP&#x534F;&#x8BAE;)</a></p>
<h2 id="&#x4F20;&#x8F93;&#x5C42;&#x534F;&#x8BAE;">&#x4F20;&#x8F93;&#x5C42;&#x534F;&#x8BAE;</h2>
<p><a href="08.html">&#x5080;&#x5121; (UDP&#x534F;&#x8BAE;)</a></p>
<p><a href="09.html">&#x4E0D;&#x653E;&#x5F03; (TCP&#x534F;&#x8BAE;&#x4E0E;&quot;&#x6D41;&quot;&#x901A;&#x4FE1;)</a></p>
<p><a href="10.html">&#x7231;&#x7684;&#x4F20;&#x58F0;&#x7B52; (TCP&#x8FDE;&#x63A5;)</a></p>
<p><a href="11.html">&#x9B54;&#x9B3C;&#x7EC6;&#x8282; (TCP&#x6ED1;&#x7A97;&#x7BA1;&#x7406;) </a></p>
<p><a href="12.html">&#x6D85;&#x69C3; (TCP&#x91CD;&#x65B0;&#x53D1;&#x9001;)</a></p>
<p><a href="13.html">&#x5929;&#x4E0B;&#x4E3A;&#x516C; (TCP&#x5835;&#x585E;&#x63A7;&#x5236;)</a></p>
<h2 id="&#x5E94;&#x7528;&#x5C42;">&#x5E94;&#x7528;&#x5C42;</h2>
<p><a href="14.html">9527 (DNS&#x534F;&#x8BAE;)</a></p>
<p><a href="15.html">&#x5148;&#x751F;&#xFF0C;&#x8981;&#x70B9;&#x5355;&#x5417;? (HTTP&#x534F;&#x8BAE;)</a></p>
<p><a href="17.html">&#x5C0F;&#x7F8E;&#x7684;&#x684C;&#x53F7; (DHCP&#x534F;&#x8BAE;)</a></p>
<p><a href="18.html">&#x6211;&#x548C;&#x4F60;&#x7684;&#x6084;&#x6084;&#x8BDD; (SSL/TLS&#x534F;&#x8BAE;)</a></p>
<h2 id="&#x7EFC;&#x5408;">&#x7EFC;&#x5408;</h2>
<p><a href="16.html">&#x9006;&#x88AD; (CIDR&#x4E0E;NAT)</a></p>
<p><a href="Mac%20OSX&#x7F51;&#x7EDC;&#x8BCA;&#x65AD;&#x547D;&#x4EE4;.md">Mac OSX&#x7F51;&#x7EDC;&#x8BCA;&#x65AD;&#x547D;&#x4EE4;</a></p>
<h2 id="&#x53C2;&#x8003;&#x8D44;&#x6599;">&#x53C2;&#x8003;&#x8D44;&#x6599;</h2>
<p>&#x4E0B;&#x9762;&#x662F;&#x53C2;&#x8003;&#x4E66;&#x7C4D;&#xFF1A;</p>
<p>&#x8C46;&#x5217;</p>
<p><a href="http://book.douban.com/doulist/1626951/" target="_blank">http://book.douban.com/doulist/1626951/</a></p>
<p>&#x4EE5;&#x53CA;&#x5176;&#x5B83;&#x6765;&#x81EA;&#x7F51;&#x8DEF;&#x7684;&#x8D44;&#x6599;&#x3002;</p>

                                
                                </section>
                            
    </div>
    <div class="search-results">
        <div class="has-results">
            
            <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
            <ul class="search-results-list"></ul>
            
        </div>
        <div class="no-results">
            
            <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
            
        </div>
    </div>
</div>

                        </div>
                    </div>
                
            </div>

            
                
                <a href="../" class="navigation navigation-prev " aria-label="Previous page: Introduction">
                    <i class="fa fa-angle-left"></i>
                </a>
                
                
                <a href="02.html" class="navigation navigation-next " aria-label="Next page: 邮差与邮局 (网络协议概观)">
                    <i class="fa fa-angle-right"></i>
                </a>
                
            
        
    </div>

    <script>
        var gitbook = gitbook || [];
        gitbook.push(function() {
            gitbook.page.hasChanged({"page":{"title":"序","level":"1.2","depth":1,"next":{"title":"邮差与邮局 (网络协议概观)","level":"2.1","depth":1,"path":"content/02.md","ref":"content/02.md","articles":[]},"previous":{"title":"Introduction","level":"1.1","depth":1,"path":"README.md","ref":"README.md","articles":[]},"dir":"ltr"},"config":{"plugins":["livereload"],"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"livereload":{},"highlight":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"theme":"default","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"Potocol-Forest","language":"zh-hans","gitbook":"*","description":"\"The Forest of The Protocol\" : a concise introduction to network protocols"},"file":{"path":"content/01.md","mtime":"2021-03-22T05:32:22.000Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2021-03-22T10:56:48.312Z"},"basePath":"..","book":{"language":""}});
        });
    </script>
</div>

        
    <script src="../gitbook/gitbook.js"></script>
    <script src="../gitbook/theme.js"></script>
    
        
        <script src="../gitbook/gitbook-plugin-livereload/plugin.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-search/search-engine.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-search/search.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-lunr/lunr.min.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-lunr/search-lunr.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-sharing/buttons.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
        
    

    </body>
</html>

